package com.weiqiao.api.repository.impl;

import com.weiqiao.api.repository.ICarouseApiRepository;
import com.weiqiao.base.dao.impl.BaseMongoDaoImpl;
import org.bson.conversions.Bson;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author ChenYF
 * @Description
 * @Date 2020/7/27 9:58
 */
@Repository("CoreApiRepositoryImpl")
public class CarouseApiRepositoryImpl extends BaseMongoDaoImpl implements ICarouseApiRepository {
    private String collectionName = "wx_carouse";

    @Override
    public List<String> getCarouseList(Bson filter) {
        return this.findFilter(collectionName, filter);
    }
}
